package com.hhck.service;

import com.hhck.entity.Page;
import com.hhck.entity.Purchase;
import com.hhck.entity.Result;

public interface PurchaseService {

    // 添加采购单（商品采购）
    Result savePurchase(Purchase purchase);

    // 分页查询采购单列表（条件查询）
    Page queryPurchaseListByPage(Page page, Purchase purchase);

    // 删除采购单
    Result removePurchaseByBuyId(Integer buyId);

    // 修改采购单
    Result modifyPurchaseByBuyId(Purchase purchase);

    // 生成入库单
    Result saveInStore(Purchase purchase, Integer createBy);

}

